package com.zlz.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zlz.server.pojo.Employee;
import com.zlz.server.pojo.RespBean;
import com.zlz.server.pojo.RespPageBean;

import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author efire
 * @since 2021-01-31
 */
public interface IEmployeeService extends IService<Employee> {

    RespPageBean getEmployeeByPage(Integer curPage, Integer size, Employee employee, LocalDate[] beginDateScope);

    String getMaxWorkId();

    RespBean addEmp(Employee employee);

    List<Employee> getEmployee(Long id);

    RespPageBean getEmpsWithSalary(Integer curPage, Integer size);
}
